//
//  CommonTools.swift
//  MyWeibo
//
//  Created by apple on 16/4/20.
//  Copyright © 2016年 apple. All rights reserved.
//

import UIKit

//class CommonTools: NSObject {
//
//}


// 屏幕宽高
let SCREENW = UIScreen.mainScreen().bounds.size.width
let SCREENH = UIScreen.mainScreen().bounds.size.height

// 随机颜色
var RandomColor: UIColor {
    return UIColor(red: CGFloat(random()%256)/255, green: CGFloat(random()%256)/255, blue: CGFloat(random()%256)/255, alpha: 1)
}

// MARK: - 通知名

/// 切换根控制器的通知
let HMChangeRootVCNotification = "HMChangeRootVCNotification"
